package gui.partb;

import java.io.Serializable;

/**
 * 
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public class Grade implements Serializable {
    /**
     * 属性描述：学生id
     */
    private String stuId;

    /**
     * 属性描述：课程id
     */
    private String courseId;

    /**
     * 属性描述：班级
     */
    private String grade;

    public Grade() {
    }

    public Grade(String grade, String stuId, String courseId) {
        this.grade = grade;
        this.stuId = stuId;
        this.courseId = courseId;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return grade + " " + stuId + " " + courseId;
    }
}
